package com.grf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@ComponentScans({
        @ComponentScan(value = "com.grf.config"),
        @ComponentScan(value = "com.grf.controller"),
        @ComponentScan(value = "com.grf.service")
})
@MapperScan("com.grf.mapper")
@SpringBootApplication
public class GrfApplication {

    public static void main(String[] args) {
        SpringApplication.run(GrfApplication.class, args);
    }

}
